<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <ui:composition template="templatecustomer.xhtml">
        <ui:define name="pagename">
            East2West - Feedback
        </ui:define>
        <ui:define name="content">
            <div class="art-layout-cell layout-item-2" style="width: 33%;">
                <h1>Feedback</h1>
                <center>
                    <h:form>
                        <table>
                            <tr>
                                <td>Title :</td>
                                <td><h:inputText id="title" required="true" requiredMessage="Input title" value="#{feedbackBean.title}" style="width: 304px"></h:inputText>
                                    <h:message for="title" style="color: red"></h:message>
                                </td>
                            </tr>
                            <tr>
                                <td>Content :</td>
                                <td>
                                    <h:inputTextarea id="content" required="true" requiredMessage="Input Content" value="#{feedbackBean.content}" cols="46" rows="10"></h:inputTextarea>
                                    <h:message for="content" style="color: red"></h:message>
                                </td>
                                
                            </tr>
                            <tr>
                                <td></td>
                                <td><h:commandButton action="#{feedbackBean.feedbackAction}" style="background-image: url(images/submit.png);width:80px;height: 35px"></h:commandButton></td>
                            </tr>
                        </table>
                    </h:form>
                </center>
            </div>
        </ui:define>
    </ui:composition>
</html>

